package com.titar.robot.ui.login;

import com.titar.robot.base.BasePresenter;
import com.titar.robot.base.BaseView;
import com.titar.robot.entity.LoginResponse;
import com.titar.robot.entity.MemberInfo;

public interface LoginContact {
    interface View extends BaseView {
        void onLoginSucess(LoginResponse response);

        void onGetMemberInfoSucess(MemberInfo memberInfo);
    }

    interface Presenter extends BasePresenter<LoginContact.Presenter, LoginContact.View> {
        void login(String phone, String password);

        void getMemberInfo(String token);
    }
}
